<?php if (!defined('THINK_PATH')) exit(); if(is_array($nav_list)): $i = 0; $__LIST__ = $nav_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$value): $mod = ($i % 2 );++$i; if(array_intersect($nav_name, $value)){ ?>
<li id="li_Menu_<?php echo ($i); ?>">    
	    <a href="#" class="nav-top-item <?php if(in_array(MODULE_NAME,$value)) echo 'current'; ?>"><?php echo ($key); ?></a>
    	<ul style='display:none;' >
        	
           <?php if(is_array($value)): $i = 0; $__LIST__ = $value;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i; if(in_array($v, $nav_name)){ ?>
                    <li>           
                        <a href="<?php echo U($v.'/index');?>" class="<?php if(MODULE_NAME == $v): ?>current<?php endif; ?>"><?php echo ($key); ?></a>
                    </li>
                    <?php } endforeach; endif; else: echo "" ;endif; ?>	        
		</ul>
        
</li>
<?php } endforeach; endif; else: echo "" ;endif; ?>